package com.jekun.helloworld.designmode.composite;

/**
 * @author Administrator
 */
public abstract class Component {
    public abstract void add(Component c) throws Exception;

    public abstract void remove(Component c) throws Exception;

    public abstract Component getChild(int i) throws Exception;

    public abstract void operation();
}